package com.battle.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2025/3/4 15:06
 */
@AllArgsConstructor
public enum ManAgeEnum {
    a(0,new Integer[]{20, 24}),
    b(1,new Integer[]{25, 27}),
    c(2,new Integer[]{28, 30}),
    d(3,new Integer[]{31, 33}),
    e(4,new Integer[]{34, 36}),
    f(5,new Integer[]{37, 39}),
    g(6,new Integer[]{40, 42}),
    h(7,new Integer[]{43, 45}),
    i(8,new Integer[]{46, 48}),
    j(9,new Integer[]{49, 51}),
    k(10,new Integer[]{52, 54}),
    l(11,new Integer[]{55, Integer.MAX_VALUE})
    ;

    @JsonValue
    @EnumValue
    private Integer index;
    private Integer[] ageRange;
}
